<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        let a = 12;

        let str = `a${s}bc`;

        alert(str);
    </script>

    <script>
        let title = '标题';
        let content = '内容';
        let str = '<div>\
            <h1>' + title + '</h1>\
            <p>' + content + '</p>\
        <div>'

        let str2 = `<div>
            <h1>${title}</h1>
            <p>${content}</p>`
    </script>
</body>

</html>